package com.deyuanyun.pic.ctrl.app.domain;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;

/**
 * @Description 一个管道默认的起点和终点dto
 * @author Jerry
 * @date 2016-11-21
 */
public class PipefromToDto {
  //  @JSONField(name = "pipeLineId")
   // private String id;//管道id
  //  @JSONField(name = "pipeName")
   // private String name;//管道名称

    @JSONField(name = "fromName")
    private String beginName;//起点名称
    @JSONField(name ="fromMileage")
    private BigDecimal beginMileage;//起点绝对距离
    //private Integer beginMileage2;//起点绝对距离
    //private BigDecimal beginBallMileage;//起点对应收发球筒的绝对距离
   // private Integer beginBallMileage2;//起点对应收发球筒的绝对距离
    @JSONField(name = "fromPointId")
    private String beginId;//起点编号
   // @JSONField(name = "fromType")
  //  private String beginType;//起点类型

    @JSONField(name ="toName")
    private String endName;//终点名称
    @JSONField(name = "toMileage")
    private BigDecimal endMileage;//终点绝对距离
    //private Integer endMileage2;//终点绝对距离
    //private BigDecimal endBallMileage;//起点对应收发球筒的绝对距离
    //private Integer endBallMileage2;//起点对应收发球筒的绝对距离
    @JSONField(name = "toPointId")
    private String endId;//终点编号
    //@JSONField(name = "toType")
   // private String endType;//终点类型



    public String getBeginName() {
        return beginName;
    }

    public void setBeginName(String beginName) {
        this.beginName = beginName;
    }

    public BigDecimal getBeginMileage() {
        return beginMileage;
    }

    public void setBeginMileage(BigDecimal beginMileage) {
        this.beginMileage = beginMileage;
    }

    public String getBeginId() {
        return beginId;
    }

    public void setBeginId(String beginId) {
        this.beginId = beginId;
    }

    public String getEndName() {
        return endName;
    }

    public void setEndName(String endName) {
        this.endName = endName;
    }

    public BigDecimal getEndMileage() {
        return endMileage;
    }

    public void setEndMileage(BigDecimal endMileage) {
        this.endMileage = endMileage;
    }

    public String getEndId() {
        return endId;
    }

    public void setEndId(String endId) {
        this.endId = endId;
    }

}
